package org.example.trigger.http;


import lombok.extern.slf4j.Slf4j;
import org.example.api.dto.UpdateResDTO;
import org.example.domain.shop.model.entity.ProductEntity;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yinghuashen
 * @version 1.0
 * @description
 * @date 2025/3/10 21:55
 */

@Slf4j
@RestController
@CrossOrigin("*")
@RequestMapping("/update")
public class UpdateController{

    @RequestMapping("/product")
    public UpdateResDTO updateProductInfo(ProductEntity productEntity) {
        return null;
    }
}
